package com.kingdee.eas.basedata.master.cssp;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.basedata.framework.IDataBaseD;
import java.util.Map;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import java.util.Set;
import java.util.HashSet;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.BOSUuid;
import com.kingdee.eas.basedata.org.CtrlUnitInfo;
import java.util.List;

public interface ICustomer extends IDataBaseD
{
    public CustomerInfo getCustomerInfo(IObjectPK pk) throws BOSException, EASBizException;
    public CustomerInfo getCustomerInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public CustomerCollection getCustomerCollection(EntityViewInfo view) throws BOSException;
    public CustomerCollection getCustomerCollection(String oql) throws BOSException;
    public CustomerCollection getCustomerCollection() throws BOSException;
    public CustomerInfo getCustomerInfo(String oql) throws BOSException, EASBizException;
    public CustomerCompanyInfoInfo getCustomerCompanyInfo(IObjectPK customerPK, IObjectPK companyInfoPK) throws BOSException, EASBizException;
    public CustomerCompanyInfoInfo getCustomerCompanyInfo(IObjectPK pk) throws BOSException, EASBizException;
    public CustomerCompanyInfoInfo getCustomerCompanyInfo(IObjectPK pk, SelectorItemCollection selecterItem) throws BOSException, EASBizException;
    public CustomerCompanyInfoInfo getCustomerCompanyInfo(IObjectPK customerPK, IObjectPK companyPK, SelectorItemCollection selecter) throws BOSException, EASBizException;
    public CustomerCompanyInfoInfo getCustomerCompanyInfo(String custoemrNumber, String companyOrgNumber) throws BOSException, EASBizException;
    public CustomerSaleInfoInfo getCustomerSaleInfo(IObjectPK pk) throws BOSException, EASBizException;
    public CustomerSaleInfoInfo getCustomerSaleInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public CustomerSaleInfoInfo getCustomerSaleInfo(IObjectPK customerPK, IObjectPK saleInfo) throws BOSException, EASBizException;
    public CustomerSaleInfoInfo getCustomerSaleInfo(IObjectPK customerPK, IObjectPK salePK, SelectorItemCollection selector) throws BOSException, EASBizException;
    public CustomerSaleInfoInfo getCustomerSaleInfo(String customerNum, String saleNum) throws BOSException, EASBizException;
    public void approve(IObjectPK customerPK) throws BOSException, EASBizException;
    public Map approve(IObjectPK[] pks) throws BOSException, EASBizException;
    public void unApprove(IObjectPK customerPK, boolean isUnApprove) throws BOSException, EASBizException;
    public Map unApprove(IObjectPK[] customerPks) throws BOSException, EASBizException;
    public boolean isExistOtherInfo(IObjectPK customerPK) throws BOSException, EASBizException;
    public void freezed(IObjectPK customerPK, boolean isForceFreezed) throws BOSException, EASBizException;
    public void unFreezed(IObjectPK customerPK, boolean isForceUnFreezed) throws BOSException, EASBizException;
    public void updateCheck(IObjectPK pk, IObjectValue value) throws BOSException, EASBizException;
    public boolean isExistCustomerByInter(String orgId) throws BOSException, EASBizException;
    public CustomerCollection getCustomerCollectionByInter(String orgId) throws BOSException, EASBizException;
    public boolean isHasDeal(IObjectPK pk) throws BOSException, EASBizException;
    public boolean isExistCustomerByInter(String interOrgId, String comOrgId) throws BOSException, EASBizException;
    public CustomerCollection getCustomerCollectionByInter(String interOrgId, String comOrgId) throws BOSException, EASBizException;
    public CustomerCollection getCustomerCollectionByComOrg(String comOrgID) throws BOSException, EASBizException;
    public String checkInternalCompanyExist(BOSUuid id) throws BOSException, EASBizException;
    public List isExistCustomerByInter(List ids) throws BOSException, EASBizException;
    public boolean isExistInterCustomer(Map param) throws BOSException, EASBizException;
    public void createCustomerByTransfer(Map param) throws BOSException, EASBizException;
    public CustomerCollection getInterCustomerCollection(String orgid, String cuid) throws BOSException, EASBizException;
    public void batchAssign2(String cuid, String[] diddata, String[] cuiddata, HashSet assistData) throws BOSException, EASBizException;
    public void batchAssign2(String cuid, String sql, HashSet basedata, HashSet cuData, HashSet assistData) throws BOSException, EASBizException;
    public void batchAssignAssist(String cuid, String[] diddata, String[] cuiddata, HashSet assistData) throws BOSException, EASBizException;
    public void batchAssignAssist(String cuid, String sql, HashSet basedata, HashSet cuData, HashSet assistData) throws BOSException, EASBizException;
    public Map getEditUIInitData(String customerId, CtrlUnitInfo curCtrlUnitInfo) throws BOSException, EASBizException;
    public void batchDelete(Set ids) throws BOSException, EASBizException;
    public void batchUnAssignAssist(String cuId, String[] orgIds, String[] dataIds, HashSet assistDataSet) throws BOSException, EASBizException;
    public void batchUnAssignAssist(String cuId, String[] orgIds, String dataSql, String[] notInDataIds, HashSet assistDataSet) throws BOSException, EASBizException;
    public String readNewNumber(String cuId, CustomerInfo customerInfo) throws BOSException, EASBizException;
}